package main

import "os"
import "encoding/json"

func main() {
	enc := json.NewEncoder(os.Stdout)
	d := map[string]int{"apple": 5, "lettuce": 7}
	//var tmp d
	enc.Encode(d)
}
